-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parse_mode selection feature for telegram client #1458
base: develop
Are you sure you want to change the base?
Conversation
kaomoji problem on telegram
FYI. Integration test failed due to node version issue. Github actions will work after merge my change. |
SYSTEM """You are an assistant for PhD researchers, you help them find infos from research papers at ease."""
I'm the one who added that |
@simpletrontdip then, how about add fallback and conditional parse_mode selection.
or jsut let user choose which parse_mode to utilize on tg client. I think give the key to user might be the best solution. |
Agree that it would be the best if it was passed down along with message, or an option in the bot client config. |
FYI. yeah, kaomoji means some text-based emoji like (。•̀ᴗ-)✧. if some of those non-ascii character placed on the end of message, tg api throw the error which I've mentioned above. |
Relates to:
Modified without ticket
Risks
Low
Background
What does this PR do?
There was issue when AI Agent send tg message with special characters.
So, just add selection for user to use parse_mode in tg message or not.
And, this is chore update, but fix the node vertsion on integration test to 23.3.0 from 23 cause 23.5.0 is latest version so integration test will return fail till upgrade node version on whole repository to 23.5.0
What kind of change is this?
Improvements (misc. changes to existing features)
Why are we doing this? Any context or related work?
When my bot mean to send kaomoji or other special character, it throws error.
Documentation changes needed?
My changes do not require a change to the project documentation.
Testing
Where should a reviewer start?
check these following two options.
Detailed testing steps
Try to several parse modes.
Discord username
BlairLee_Dev